#pragma once
#include "ggl.h"
#include"vertexbuffer.h"
#include"shader.h"

class model {
public:
	model();
	~model();
public:
	void Init(const char* filePath);
	void SetTexture(const char* textPath);
	void Draw(glm::mat4 &viewMatrix, glm::mat4 &projectionMatrix,float x,float y, float z);
	void SetPosition(float x, float y ,float z);
private:
	void LoadObjModel(const char* filePath);
private:
	glm::mat4 mModelMatr;

	shader* mShader;
	vertexbuffer* mVertexBuffer;

};

